n"); }prints "Hello" 10 times.The for loop is an alternative way of writing a {while loop} that is convenient because the loop control logic is collected in a single place. It is also closely related to the repeat loop.(1999-07-07)repeat loop.(1999-07-07)……"> for loop : FOLDOC
翻訳と辞書
Words near each other
・ foogol
・ fool
・ fool file
・ fools' lisp
・ foonly
・ foop
・ foot-net
・ footprint
・ for
・ for free
for loop
・ for the rest of them
・ for the rest of us
・ for values of
・ for your information
・ fora
・ forc
・ force
・ forceone
・ forcetwo


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

for loop : FOLDOC
for loop
A loop construct found in many procedural languages which repeatedly executes some instructions while a condition is true.
In C, the for loop is written in the form;
for (INITIALISATION; CONDITION; AFTER)
STATEMENT;

where INITIALISATION is an expression that is evaluated once before the loop, CONDITION is evaluated before each iteration and the loop exits if it is false, AFTER is evaluated after each iteration, and STATEMENT is any statement including a {compound statement} within braces "{..}" that is executed if CONDITION is true.
For example:
int i;
for (i = 0; i < 10; i++)
{
printf("Hello }

prints "Hello" 10 times.
The for loop is an alternative way of writing a {while loop} that is convenient because the loop control logic is collected in a single place. It is also closely related to the ">n");
}

prints "Hello" 10 times.
The for loop is an alternative way of writing a {while loop} that is convenient because the loop control logic is collected in a single place. It is also closely related to the
repeat loop.
(1999-07-07)

repeat loop.
(1999-07-07)



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.